package com.chaoyi.service;

import java.util.List;

import javax.servlet.http.Part;

import com.chaoyi.model.Novel;

public interface NovelService {

	List<Novel> findList(String offset, String limit);

	int findCount();

	int saveNovel(Novel entity);

	Novel findNovelOne(int id);

	int alertNovelSave(Novel entity);

	int deleteNovel(int id);

	String uploadOSS(Part uploadFile) throws Exception;

	List<Novel> findListByType(String string, String string2, int type);

}
